<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>当当购物车</title>
	</head>
	<script>
		<!--  
		function guanbi() {
			window.close();
			alert("关闭了")
		}

		function collection() {
			window.alert("收藏提示");
		}

		function shanchu() {
			window.confirm("是否确认删除？");
		}

		function settlement() {
			window.open('demo12_1.html');
		}
		-->
	</script>
	<body>
		<div>
			<input type="button" value="关闭" onclick="guanbi()" />
			<input type="button" value="移入收藏" onclick="collection()" />
			<input type="button" value="删除" onclick="shanchu()" />
			<input type="button" value="结算" onclick="settlement()" />
		</div>
	</body>
</html>
